package com.bootdo.fx.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;



/**
 * 
 * 
 * @author 袁飞龙
 * @email 1992lcg@163.com
 * @date 2017-11-30 17:12:20
 */
public class UserWithdrawDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//
	private String withdrawId;
	//
	private String userId;
	//提现金额
	private BigDecimal withdrawAmount;
	//
	private Date withdrawCreateTime;
	//
	private Date withdrawUpdateTime;
	//
	private String withdrawNote;
	//
	private String withdrawChannel;
	//
	private String withdrawAccount;
	//
	private String withdrawRealName;
	//0 - 已申请 1 - 打款中 2 - 已打款
	private Integer withdrawStatus;

	/**
	 * 设置：
	 */
	public void setWithdrawId(String withdrawId) {
		this.withdrawId = withdrawId;
	}
	/**
	 * 获取：
	 */
	public String getWithdrawId() {
		return withdrawId;
	}
	/**
	 * 设置：
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}
	/**
	 * 获取：
	 */
	public String getUserId() {
		return userId;
	}
	/**
	 * 设置：提现金额
	 */
	public void setWithdrawAmount(BigDecimal withdrawAmount) {
		this.withdrawAmount = withdrawAmount;
	}
	/**
	 * 获取：提现金额
	 */
	public BigDecimal getWithdrawAmount() {
		return withdrawAmount;
	}
	/**
	 * 设置：
	 */
	public void setWithdrawCreateTime(Date withdrawCreateTime) {
		this.withdrawCreateTime = withdrawCreateTime;
	}
	/**
	 * 获取：
	 */

	SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
	public String getWithdrawCreateTime() {
		return sdf.format(withdrawCreateTime);
	}
	/**
	 * 设置：
	 */
	public void setWithdrawUpdateTime(Date withdrawUpdateTime) {
		this.withdrawUpdateTime = withdrawUpdateTime;
	}
	/**
	 * 获取：
	 */
	public String getWithdrawUpdateTime() {
		if(withdrawUpdateTime != null){
			return sdf.format(withdrawUpdateTime);
		}
		return null;
	}
	/**
	 * 设置：
	 */
	public void setWithdrawNote(String withdrawNote) {
		this.withdrawNote = withdrawNote;
	}
	/**
	 * 获取：
	 */
	public String getWithdrawNote() {
		return withdrawNote;
	}
	/**
	 * 设置：
	 */
	public void setWithdrawChannel(String withdrawChannel) {
		this.withdrawChannel = withdrawChannel;
	}
	/**
	 * 获取：
	 */
	public String getWithdrawChannel() {
		return withdrawChannel;
	}
	/**
	 * 设置：
	 */
	public void setWithdrawAccount(String withdrawAccount) {
		this.withdrawAccount = withdrawAccount;
	}
	/**
	 * 获取：
	 */
	public String getWithdrawAccount() {
		return withdrawAccount;
	}
	/**
	 * 设置：
	 */
	public void setWithdrawRealName(String withdrawRealName) {
		this.withdrawRealName = withdrawRealName;
	}
	/**
	 * 获取：
	 */
	public String getWithdrawRealName() {
		return withdrawRealName;
	}
	/**
	 * 设置：0 - 已申请
            1 - 打款中
            2 - 已打款
	 */
	public void setWithdrawStatus(Integer withdrawStatus) {
		this.withdrawStatus = withdrawStatus;
	}
	/**
	 * 获取：0 - 已申请
            1 - 打款中
            2 - 已打款
	 */
	public Integer getWithdrawStatus() {
		return withdrawStatus;
	}
}
